package com.titan.single.liteflow;

import com.titan.single.vo.UserVo;
import com.yomahub.liteflow.annotation.LiteflowComponent;
import com.yomahub.liteflow.core.NodeComponent;
import lombok.extern.slf4j.Slf4j;

/**
 * 规则flowB
 */
@LiteflowComponent(id = "ddd", name = "业务处理D")
@Slf4j
public class Ddd extends NodeComponent {
    // flowB

    @Override
    public void process() throws Exception {
        log.info("已进入ddd节点");
        UserVo userVo =  this.getFirstContextBean();
        userVo.getLiteFlows().add("已进入ddd节点");
    }

}
